Programmers

They could change the world,., You too,..

Accuracy

A good application needs accurate datas,..

Controlling

A good application needs ability to control business flow.,,

Visual Basic 6.0 Form

Forms for entry the datas,..

Reports

The goal of a application show the reports of business datas,..

Contact Form

Name

Email *

Message *

Showing posts with label SQL Server. Show all posts
Showing posts with label SQL Server. Show all posts

Monday, June 15, 2015

Backup and Restore Database SQL Server 2014


Backup and Restore database in SQL Server Studio 2014 is easy. Here I will explain the steps in a way that is easy and simple. Backup is the process of moving data from the database into a backup file. In fact, the process of backing up is a capture process database, where the database is dynamic or changing every second according to the update of client activity.

Restore is the process of restoring a database from a backup file into a database file on the server. Fill in this database adjust to the situation when the data was taken. See the video carefully, consider the steps. It is easy.
 



Monday, March 2, 2015

SQL Server 2014 Installation and try some queries Part 5



On the Reporting Services Configuration, select Install and configure. Click on "Next >" to continue.



The Ready to Install screen displays all of the features and prerequisites to be installed. At this point, the installer can still go back to make changes or quit the process. Click on "Install" to begin the installation of the SQL Server 2014 components.


The installation progress bar tracks the status of the installation.



Upon completion of the installation, click on "Close" to exit the SQL Server 2014 Setup.


The SQL Server Installation Center can now be closed.


Done,...


SQL Server 2014 Installation and try some queries Part 4



On the Server Configuration tab of the Database Engine Configuration screen, select your preferred Authentication Mode and specify your SQL Server administrators.



On the Data Directories tab of the Database Engine Configuration screen, specify your preferred directories for the data root, system database, user database, user database log, temp database, temp database log, and backup. Click on "Next >".


On the Server Configuration tab of the Analysis Services Configuration screen, select your preferred Server Mode and specify your Analysis Services administrators.


On the Data Directories tab of the Analysis Services Configuration screen, specify your preferred directories. Click on "Next >".


On the Reporting Services Configuration, select Install and configure. Click on "Next >" to continue.




SQL Server 2014 Installation and try some queries Part 3



The next step is the feature selection. This allows the installer to pick and choose the features to be installed. On the right side of the window, the disk space requirements are displayed. At the bottom, the installer can choose the path for the instance root and shared feature directories. Click on "Next >" to continue.



Sometimes a "Please Wait..." pop-up box might appear.


The Instance Configuration screen allows the installer to specify the name of the instance and its ID. This screen will also display other installed instances.


The Server Configuration screen shows the services to be installed, the service account name and the Startup Type. If you are installing SQL Server 2014 on a device with limited resources then the Startup Type should be set to Automatic (Delayed Start). Click on "Next >".


On the Server Configuration tab of the Database Engine Configuration screen, select your preferred Authentication Mode and specify your SQL Server administrators.





SQL Server 2014 Installation and try some queries Part 2



The SQL Server 2014 Setup application will run multiple checks for rules during the installation process. If a rule check fails, the setup application will provide the corrective measures to take so installation may proceed. The setup application will also search for product updates.



The setup application will download, extract and install files needed to carry out the installation process. Click on "Next >" to continue.


Another rule check will be run to ensure everything is in place so the setup will be successful. If a rule check fails, the setup application will provide the corrective measures to take so installation may proceed. Click on "Next >" to continue.


On the Setup Role screen, we will click on the SQL Server Feature Installation radio button. This will allow us to install the database engine, Analysis Services, Reporting Services, Integration Services and other features of SQL Server 2014. Click on "Next >" to continue.


The next step is the feature selection. This allows the installer to pick and choose the features to be installed. On the right side of the window, the disk space requirements are displayed. At the bottom, the installer can choose the path for the instance root and shared feature directories. Click on "Next >" to continue.






SQL Server 2014 Installation and try some queries Part 1



In this tutorial, we will demonstrate the installation of SQL Server 2014 on a notebook. While processing large amounts of data on a system like this might not be feasible, one can still learn how to configure and use the features of SQL Server 2014.
Note: Before starting make sure you are connected to a network and have Internet access.
After launching the setup application, the following pop-up window might appear. It might appear several times throughout the installation process.


The SQL Server Installation Center window will display. Along the left side of the window are the categories showing how the SQL Server Installation Center is organized. On the right side of the window are different actions the installer can take. Notice that some of the items allow the installer to view documentation while other items will make changes to the system. By the default the Planning category is displayed.



Clicking on Installation on the left side will display the different installation options. For this tip, we will click on "New SQL Server stand-alone installation or add features to an existing installation". This will launch the SQL Server 2014 Setup application.


The SQL Server 2014 Setup application lists the steps it will follow on the left side of the window. Enter the product key and click "Next >".


Review the license terms, click on "I accept the license terms", and then click "Next >".


The SQL Server 2014 Setup application will run multiple checks for rules during the installation process. If a rule check fails, the setup application will provide the corrective measures to take so installation may proceed. The setup application will also search for product updates.





Monday, September 30, 2013

Download Microsoft SQL Server 2012 Express Free




Microsoft® SQL Server® 2012 Express is a powerful and reliable free data management system that delivers a rich and reliable data store for lightweight Web Sites and desktop applications.

License : Free

System Requirements

32-bit systems
Computer with Intel or compatible 1GHz or faster processor (2 GHz or faster is recommended.)
64-bit systems
1.4 GHz or faster processor
Minimum of 512 MB of RAM (2 GB or more is recommended.)
2.2 GB of available hard disk space

Supported Operating System
Windows 7, Windows Server 2008 R2, Windows Server 2008 Service Pack 2, Windows Vista Service Pack 2

Friday, September 20, 2013

Making a connection to SQL Server 2000-2008 VB6

Basically any commands for manipulating databases perform well, add or update definitely needs an operation connection, and therefore do not need to create a script that repeatedly the connection needs to be made in connection script in the module file. And if necessary just call use the command "Call  <procedurename>"
Step 1
Open a new project, select the Enterprise.
Click the Project menu, click Add Module, click OK
Enter the following code in the module, then Save, ..

---
Option Explicit
Public conn As ADODB.Connection
Public recset As ADODB.Recordset

Public Sub opendb()
  Set oConn = New ADODB.Connection
  Set recset = New ADODB.Recordset
  oConn.CursorLocation = adUseClient
  oConn.Open "Provider=SQLOLEDB.1;Password=b217an;User ID=sa;Initial Catalog=Xserver;Data     Source=local"
End Sub
---

Step 2
They will just call the procedure in the form with the Call command, if the sample is placed at the time the form was called / load:

Private Sub Form1_Load()
 Call opendb
 Set recset = New ADODB.recordset

 recset.Open ("select * from data_pegawai"), oConn
 DataGrid1.Data Source = recset

 '----
in order to save memory resources and then close again  recset.Close
 Set recset = Nothing
 oConn.Close
End Sub


 
 

Wednesday, September 18, 2013

Connection to SQL Server 2012

.NET Framework Data Provider for SQL Server

   | Server=myServerAddress;Database=myDataBase;User Id=myUsername;

   | Password=myPassword;

SQL Server Native Client 11.0 OLE DB Provider

   | Provider=SQLNCLI11;Server=myServerAddress;Database=myDataBase;Uid=myUsername;

   | Pwd=myPassword;

If  you using SQL Server 2012 Express, don't miss the server name syntax Servername\SQLEXPRESS where you substitute Servername with the name of the computer where the SQL Server 2012 Express installation resides.

SQL Server Native Client 10.0 OLE DB Provider

   | Provider=SQLNCLI10;Server=myServerAddress;Database=myDataBase;Uid=myUsername;

   | Pwd=myPassword;

SQL Native Client 9.0 OLE DB provider

   | Provider=SQLNCLI;Server=myServerAddress;Database=myDataBase;Uid=myUsername;

   | Pwd=myPassword;

Microsoft OLE DB Provider for SQL Server

   | Provider=sqloledb;Data Source=myServerAddress;Initial Catalog=myDataBase;

   | User Id=myUsername;Password=myPassword;

SQL Server Native Client 11.0 ODBC Driver

   | Driver={SQL Server Native Client 11.0};Server=myServerAddress;

   | Database=myDataBase;Uid=myUsername;Pwd=myPassword;

SQL Server Native Client 10.0 ODBC Driver

   | Driver={SQL Server Native Client 10.0};Server=myServerAddress;

   | Database=myDataBase;Uid=myUsername;Pwd=myPassword;

SQL Native Client 9.0 ODBC Driver

   | Driver={SQL Native Client};Server=myServerAddress;Database=myDataBase;

   | Uid=myUsername;Pwd=myPassword;

Microsoft SQL Server ODBC Driver

   | Driver={SQL Server};Server=myServerAddress;Database=myDataBase;Uid=myUsername;

   | Pwd=myPassword;